export const homePageRoutes = [
  {
    path: "/homePage",
    name: "homePage",
    meta: {
      login: false,
    },
    redirect: "/homePage/homePageCenter",
    component:()=> import("@/views/homepage/homepage.vue"),
    children: [
      {
        path: "homePageCenter",
        name: "homePageCenter",
        meta: {
          login: false,
          i18nkey: "meuntext.home.home",
          showTitle: false
        },
        component:()=> import("@/views/home/HomePage/index.vue"),
      },
      {
        path: "moreMsg",
        name: "moreMsg",
        meta: {
          login: false,
          i18nkey: "meuntext.home.moreMsg",
          showTitle: true
        },
        component:()=> import("@/components/common/MessageReminding/moreMsgList.vue"),
      },
      {
        path: "docData",
        name: "docData",
        meta: {
          login: false,
          i18nkey: "meuntext.home.docData",
          showTitle: false,
        },
        component: ()=> import("@/views/document")
      },
      {
        path: "taskTabs",
        name: "流程",
        meta: {
          login: false,
          // i18nkey: "meuntext.home.docData",
          showTitle: false,
        },
        component: ()=> import("@/views/home/HomePage/taskInfo/taskTabs")
      }, 
      {
        path: "resourcesForm",
        name: "工艺详情",
        meta: {
          login: false,
          // i18nkey: "meuntext.home.docData",
          showTitle: false,
        },
        component: ()=> import("@/views/resources/resourcesForm")
      }, 
      {
        path: "processRoute",
        name: "工艺路线",
        meta: {
          login: false,
          // i18nkey: "meuntext.home.docData",
          showTitle: false,
        },
        component: ()=> import("@/views/resources/processRoute")
      }, 
      {
        path: "configure",
        name: "工艺配置",
        meta: {
          login: false,
          // i18nkey: "meuntext.home.docData",
          showTitle: false,
        },
        component: ()=> import("@/views/resources/configure")
      },
      {
        path: "previewFile",
        name: "previewFile",
        meta: {
          login: false,
          i18nkey: "meuntext.home.previewFile",
          showTitle: false,
        },
        component: ()=> import("@/views/home/HomePage/components/common/previewFile")
      },
      {
        path: "partData",
        name: "partData",
        meta: {
          login: false,
          i18nkey: "meuntext.home.partData",
          showTitle: false,
        },
        component: ()=> import("@/views/part")
      },
      {
        path: "mycreateproj",
        name: "mycreateproj",
        meta: {
          login: false,
          i18nkey: "meuntext.home.mycreateproj",
          showTitle: false,
        },
        component:()=> import("@/views/home/HomePage/MyProject/CreateObj"),
      },
      {
        path: "checkoutObj",
        name: "checkoutObj",
        meta: {
          login: false,
          i18nkey: "meuntext.home.checkoutObj",
          showTitle: false,
        },
        component:()=> import("@/views/home/HomePage/MyProject/CheckoutObj"),
      },
      {
        path: "myproj",
        name: "myproj",
        meta: {
          login: false,
          i18nkey: "meuntext.home.myproj",
          showTitle: false,
        },
        component:()=> import("@/views/home/HomePage/MyProject/MyProj"),
      },
      {
        path: "mytask",
        name: "mytask",
        meta: {
          login: false,
          i18nkey: "meuntext.home.myproj",
          showTitle: false,
        },
        component:()=> import("@/views/home/HomePage/MyProject/MyTask"),
      },
      // 搜索的路由
      {
        path: "searchResult",
        name: "搜索",
        meta: {
          login: false,
          i18nkey: "meuntext.home.search",
          showTitle: false
        },
        component:()=> import("@/components/common/homepage/Search/searchResult.vue"),
      },
      // 产品型谱
      {
        path: "spectrum",
        name: "产品型谱",
        meta: {
          login: false,
          i18nkey: "meuntext.home.spectrum",
          showTitle: false
        },
        component:()=> import("@/views/configurationBOM/spectrum"),
      },
    ],
  }
]